package com.esfak47.mediafetcher.core.domain;

/**
 * @author tony
 * @date 2018/5/6
 */
public class DefaultFetchAble implements FetchAble {

    private final String type;
    private final String location;

    public DefaultFetchAble(String type, String location) {
        this.type = type;
        this.location = location;
    }

    @Override
    public String getLocation() {
        return this.location;
    }

    @Override
    public String getType() {
        return this.type;
    }
}
